#ifndef TEXTEDIT_H
#define TEXTEDIT_H

#include <QTextEdit>

class TextEdit : public QTextEdit
{
    Q_OBJECT
public:
    explicit TextEdit(QWidget *parent = 0);
signals:
    void textChanged(const QString&text);
private slots:
    void onChangeText();
};

#endif // TEXTEDIT_H
